<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>响应式布局解决方案</title>
    <style>
        @media (max-width: 768px) {
            /* 在这里编写响应式布局的样式 */
            html {
                font-size: 24px;
            }
        }
        @media (min-width: 769px) {
            /* 在这里编写响应式布局的样式 */    
            html {
                font-size: 16px;
            }
        }
        @media (min-width: 768px) and (max-width: 992px) {
            html {
                font-size: 20px;
            }
        }
        .row {
            width: 10rem;
            height: 8rem;
            background-color: #ccc
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row"></div>
    </div>
</body>
</html>